package com.sup.member.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sup.common.annotation.Excel;
import com.sup.common.core.domain.BaseEntity;

/**
 * 会员对象 member_table
 * 
 * @author ruoyi
 * @date 2025-06-25
 */
public class MemberTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员编号 */
    @Excel(name = "会员编号")
    private Long memberId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String memberName;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String memberPhone;

    /** 会员等级 */
    @Excel(name = "会员等级")
    private String memberLevel;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date memberRegistrationTime;

    /** 积分数量 */
    @Excel(name = "积分数量")
    private Long memberPoints;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date memberModificationTime;

    /** 修改人员ID */
    @Excel(name = "修改人员ID")
    private Long memberModifiedby;

    public void setMemberId(Long memberId) 
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }
    public void setMemberName(String memberName) 
    {
        this.memberName = memberName;
    }

    public String getMemberName() 
    {
        return memberName;
    }
    public void setMemberPhone(String memberPhone) 
    {
        this.memberPhone = memberPhone;
    }

    public String getMemberPhone() 
    {
        return memberPhone;
    }
    public void setMemberLevel(String memberLevel) 
    {
        this.memberLevel = memberLevel;
    }

    public String getMemberLevel() 
    {
        return memberLevel;
    }
    public void setMemberRegistrationTime(Date memberRegistrationTime) 
    {
        this.memberRegistrationTime = memberRegistrationTime;
    }

    public Date getMemberRegistrationTime() 
    {
        return memberRegistrationTime;
    }
    public void setMemberPoints(Long memberPoints) 
    {
        this.memberPoints = memberPoints;
    }

    public Long getMemberPoints() 
    {
        return memberPoints;
    }
    public void setMemberModificationTime(Date memberModificationTime) 
    {
        this.memberModificationTime = memberModificationTime;
    }

    public Date getMemberModificationTime() 
    {
        return memberModificationTime;
    }
    public void setMemberModifiedby(Long memberModifiedby) 
    {
        this.memberModifiedby = memberModifiedby;
    }

    public Long getMemberModifiedby() 
    {
        return memberModifiedby;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("memberId", getMemberId())
            .append("memberName", getMemberName())
            .append("memberPhone", getMemberPhone())
            .append("memberLevel", getMemberLevel())
            .append("memberRegistrationTime", getMemberRegistrationTime())
            .append("memberPoints", getMemberPoints())
            .append("memberModificationTime", getMemberModificationTime())
            .append("memberModifiedby", getMemberModifiedby())
            .toString();
    }
}
